package com.rayo.accesscontrollercopy.model.db.dao;


import com.rayo.accesscontrollercopy.model.db.bean.EventData;

import java.util.List;

/**
 * Created by yanghaojie on 16/7/27.
 */
public interface EventDao {
    List<EventData> findAll();

    List<EventData> findByLimit(int limit);

    void addAll(List<EventData> eventData);

    void addEvent(EventData eventData);

    void deleteAll(List<EventData> eventData);

    void deleteAll();
}